﻿﻿/* reset */
* 
{
    margin: 0;
    padding: 0;
}

html 
{
    height: 100%;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article 
{
    display: block;
}

body
{
    /* default background colour, for all layout engines that don't implement gradients */
    background-color: #D7DCE9; /* gecko based browsers */
    background: -moz-linear-gradient(top, #fff, #687AAC); /* webkit based browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#687AAC));
    margin: 0;
    height:100%;
    background-repeat:no-repeat;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: black;
    font-size: 11px;
    line-height: 18px;
}
	
/* layout */

.page
{
    width:1024px;   
    margin-left:auto;
    margin-right:auto;
}

nav 
{
    display: none;
    float:left;
    width: 650px;
    height: 60px;
    margin: 0 auto;
}

header
{
    display: none;
    width: 1024px;
    height: 150px;
    margin: 0 auto 50px: auto;
}

#main 
{
    width: 824px;
    padding:10px;
    margin: 0 auto;
    overflow: hidden;
 
}

#content
{
    float: right;
    width: 640px;
    margin-right: 30px;
}

#sidebar 
{
    display: none;
    clear:both;
    margin:0;
    width:180px;
    float: left;
}

footer 
{
    display: none;
    border-top:2px solid;
    width: 1024px;
    margin:0px auto 0px auto;
    padding:0;
    clear: both;
}

#Article
{
    padding:10px 0;
    margin: 0;
    overflow: auto;
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #333;
}

a:link  a:visited{
color:#004C9A;
}

a:hover, a:active {
color: #333;
}

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}

/* sidebar */
#sidebar ul
{
    padding:0;
    margin:0;
}

#sidebar ul li
{
    list-style: none;
}

/* nav and text next to nav */
#navbar
{
    clear:both;   
}

#navbar p
{
    margin:-5px 0  0;
    padding:5px 0 5px 0;
    float:right;
    width: 300px;   
}

nav
{ 
    margin-bottom:10px;
    font-size: 16px;
    font-weight: bold;
}

nav ul 
{
    width:700px;
    margin:10;
    padding:0;
    list-style: none;
    line-height: normal;
}

nav li 
{
    margin:20;
    padding:0;
    float:left;
}

nav ul li a
{
    background-color:#687AAC;
    padding:20px;
}

nav ul li a:link
{
    color:White;
    text-decoration: none;  
}

nav ul li a a:visited
{
    color:White;
}

nav ul li a:hover 
{
    color:Black;
    text-decoration: none;
    background-color:transparent;
}

/** HEADER */
#banner
{
    margin-bottom:0px;
}

header h1, header img
{
    
    display: inline-block;
    line-height: normal;
}

header h1 
{ 	
    font-size: 38px;
    text-shadow: 0px 2px 3px #333;
}

header #title
{
    width: 700px;
    height:116px;
    text-align: center;
    margin:0px 0;
    padding:0;
}

header #logo
{
    float:left;
    margin:5px 0;
    padding:0;
    width: 150px;
    height:116px;
    background-image: url('logo.png');
}

header img
{ 	
    width: 150px;
}

header h1 a:link, header h1 a:visited {
text-decoration: none;
color: #EC9B1D;
}

header h1 a:hover { 
text-decoration: none; 
}

h2
{
    font-size: 14px;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

/** ARTICLES **/
article img
{
    border: none;
    float: left;
    margin-right: 7px;
    margin-top: 12px;
    -webkit-box-shadow: 3px 3px 7px #777;
    -moz-box-shadow: 3px 3px 7px #777;
}

#content p, ul, ol, hr {
margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h3, h4, h5, h6 {
color: #333;
margin: 0 0 20px 0;
line-height: 1.5em;
}
    
.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
}

.ArticleSingle  /*stjórnar greinum innan main klass*/
{
    margin:10px 10px 0 0px;
    padding:5px;
    width: 350px;
    height: 300px;
    float: left;
    background-color: #E0E0E0;
    border-radius: 15px;
    /* mozilla*/
    -moz-border-radius: 15px;
    
}

.NewsArticleSingle p
{
    padding: 5px;
    margin: 0px;
}

.WholeNewsArticle
{
   margin:10px 10px 0 0px;
   padding:5px;
   width: 610px;
   height: auto;
   float: left;
   background-color: #E0E0E0;
   border-radius: 15px;
   /* mozilla*/
   -moz-border-radius: 15px; 
}

/* footer */

footer ul li
{
    list-style: none;
}

/* info */
#info
{
    font-size: 0.8em;
    margin:0;
    padding:0;
    float:left;
}

#info ul
{
    margin:0;
    padding:0;   
}

/* sponsors */
#sponsors
{
    font-size: 0.8em;
    float:right;
}

/* topbar */
#topbar
{
    display: none;
    width: 1024px;
    height: 35px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    color: white;
    background-color: #687AAC;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    /* mozilla*/
    -moz-border-bottom-left-radius: 15px;
    -moz-border-bottom-right-radius: 15px;
}

.topbarline
{
    border-left:1px solid;
}

#topbar ul
{
    padding: 10px 0 0 0;
    margin: 0;
}

#topbar ul li
{
    float: right;
    font-size: 12px;
    list-style:none;
}

#topbar a
{
    padding: 12px 20px 8px 20px;
    text-decoration: none;
    background-color: #687AAC;
}

.first a
{
    border-bottom-right-radius: 15px;
    /* mozilla*/
    -moz-border-bottom-right-radius: 15px;
}

#topbar a:link
{
    color: white;
}

#topbar a:visited
{
    color:white
}

#topbar a:hover
{
    background-color: #8C9AC0;
}

#increaseletter
{
    font-weight:bold;
    font-size:12px;
}

#decreaseletter
{
    font-size:10px;
}

/*========================
Home Index page
==========================*/

.NewsArticleMain
{
    width: 610px;
    float: left;
}

.NewsArticleHead
{
    height: 190px;
    padding:15px;
    margin-right: 5px;
    background-color: #E0E0E0;
    border-radius: 15px;
    /* mozilla*/
    -moz-border-radius: 15px;
}

.NewsArticleHead p
{
    padding: 5px;
    margin: 5px;
}

.NewsArticleSingle
{
    margin:5px 5px 0 0px;
    padding:5px;
    width: 290px;
    height: 190px;
    float: left;
    background-color: #E0E0E0;
    border-radius: 15px;
    /* mozilla*/
    -moz-border-radius: 15px;
}

.NewsArticleSingle p
{
    padding: 5px;
    margin: 0px;
}

.NewsArticleRightSide
{
    width: 202px; 
    display: inline-block;
}

.NewsArticleEvent
{
    height: 210px;
    padding:5px;
    width: 202px;
    
    background-color: #E0E0E0;
    border-radius: 15px;
    /* mozilla*/
    -moz-border-radius: 15px;
}

.NewsArticleEvent ul
{
    margin: 10px 0 0 0;
    padding: 0px;
}


.NewsArticleEvent ul li
{
    list-style:none;
}

.NewsArticleAdvert
{
    display:none;
    height: 200px;
    width: 210px;
    margin: 5px 0 5px 0;
    border-radius: 15px;
    /* mozilla*/
    -moz-border-radius: 15px;
}

.textshort
{
    text-overflow: ellipsis;
    width: 290;
    hight: 190;
    visibility:hidden
    
}




/* Event page */
.eventIndex
{
    font-weight:bold;
    font-size:14px;
    float:left;
    width:500px;
}

#eventIndex h2
{
    font-size:16px;   
}


#eventIndex a
{
    text-decoration:none;   
}

#eventIndexCalender 
{
    overflow:auto;
    margin:20px;
    float:right;
    width: 250px;   
    height:220px;
}


#editEventBox label, input, textarea
{
    display:block;   
}
    
/*About page*/
div.Adsetur ul
{
    list-style-type:none;
   
}


#Stafftable p
{
    line-height:50%;

}

/* Questions */

.GeneralStaff h4
{
    border-style:solid;
    padding:15px;
}

/*Contacts*/

.contactInfo fieldset
{
    float:right;
    
}

/*Advertises*/


#highlight, .highlight
{
    background-color: Black;
}



/*---------------------------------*/
/*      WorkArea                   */
/*---------------------------------*/

#workMain 
{
    width: 624px;
    padding:10px;
    margin: 0 auto;
    overflow: hidden;
 
}

.workNewsArticleMain
{
    width: 610px;
    float: left;
}

#workSidebar 
{
    clear:both;
    margin:0;
    width:300px;
    float: left;
}

#workSidebar p
{
    text-align:center;
}
#myQuestions
{
    border:solid;
}
#generalQuestion
{
    border:solid;
}
#workEventDisplay
{
    border:solid;
}

#workEventDisplay a
{
    display:block;
    text-decoration:none;
}


ul#workMenu
{
  list-style: none;
}

ul #workMenu li 
{
  display: block;
  position: relative;
  float: left;
}

#workNavbar li ul
{
    display: none;
}

#workNavbar ul li a
{
  display: block;
  text-decoration: none;
  padding: 5px 15px 5px 15px;
  margin-left: 1px;
  white-space: nowrap;
  background-color:#687AAC;
  padding:20px;
}

#workNavbar li:hover ul
{
  display: block;
  position: absolute;
}

#workNavbar li:hover li
{
  float: none;
  font-size: 11px;
}

#workNavbar li:hover a
{ 
    color:White;
    text-decoration: none;  
background: #617F8A;
}

#workNavbar li:hover li a:hover
{
    color:Black;
    text-decoration: none;
    background-color:white;
background: #95A9B1;
}
/*search result view 
a {
    color: #0254EB
}
a:visited {
    color: #0254EB
}
a.morelink {
    text-decoration:none;
    outline: none;
}
.morecontent span {
    display: none;
}
.comment {
    width: 400px;
    background-color: #f0f0f0;
    margin: 10px;
}
*/}
